package com.joolun.mall.entity;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.joolun.common.annotation.Excel;
import com.joolun.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * work对象 tb_work
 * 
 * @author www.joolun.com
 * @date 2023-02-17
 */
public class TbWork extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 题目 */
    @Excel(name = "题目")
    private String title;

    /** 图片 */
    @Excel(name = "图片")
    private String pic;

    /** 职位描述 */
    @Excel(name = "职位描述")
    private String content;

    /** 志愿地址 */
    @Excel(name = "志愿地址")
    private String address;

    /** 出勤 */
    @Excel(name = "出勤")
    private String attendance;

    /** 时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date workTime;

    /** 学历 */
    @Excel(name = "学历")
    private String edu;

    /** 可转正 ，无转正 */
    @Excel(name = "可转正 ，无转正")
    private String formal;

    /** 工资 */
    @Excel(name = "工资")
    private BigDecimal salary;

    /** 分类id */
    @Excel(name = "分类id")
    private Long cateId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setPic(String pic) 
    {
        this.pic = pic;
    }

    public String getPic() 
    {
        return pic;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setAttendance(String attendance) 
    {
        this.attendance = attendance;
    }

    public String getAttendance() 
    {
        return attendance;
    }
    public void setWorkTime(Date workTime) 
    {
        this.workTime = workTime;
    }

    public Date getWorkTime() 
    {
        return workTime;
    }
    public void setEdu(String edu) 
    {
        this.edu = edu;
    }

    public String getEdu() 
    {
        return edu;
    }
    public void setFormal(String formal) 
    {
        this.formal = formal;
    }

    public String getFormal() 
    {
        return formal;
    }
    public void setSalary(BigDecimal salary) 
    {
        this.salary = salary;
    }

    public BigDecimal getSalary() 
    {
        return salary;
    }
    public void setCateId(Long cateId) 
    {
        this.cateId = cateId;
    }

    public Long getCateId() 
    {
        return cateId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("pic", getPic())
            .append("content", getContent())
            .append("address", getAddress())
            .append("attendance", getAttendance())
            .append("workTime", getWorkTime())
            .append("edu", getEdu())
            .append("formal", getFormal())
            .append("salary", getSalary())
            .append("createTime", getCreateTime())
            .append("cateId", getCateId())
            .toString();
    }
}
